From: Soby Mathew Date: Tue, 20 Feb 2018 14:48:50 +0000 (+0000) Subject: ARM Platforms: Don't build BL1 and BL2 if RESET_TO_SP_MIN=1 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=81bf6aae6855d3afb6c99ac82a75f576f6af6131;p=project%2Fbcm63xx%2Fatf.git ARM Platforms: Don't build BL1 and BL2 if RESET_TO_SP_MIN=1 Change-Id: Iadb21bb56f2e61d7e6aec9b3b3efd30059521def Signed-off-by: Soby Mathew --- diff --git a/plat/arm/common/sp_min/arm_sp_min.mk b/plat/arm/common/sp_min/arm_sp_min.mk index e6792ca5..edab8843 100644 --- a/plat/arm/common/sp_min/arm_sp_min.mk +++ b/plat/arm/common/sp_min/arm_sp_min.mk @@ -5,6 +5,13 @@ # # SP MIN source files common to ARM standard platforms + +# Skip building BL1 and BL2 if RESET_TO_SP_MIN flag is set. +ifeq (${RESET_TO_SP_MIN},1) + BL1_SOURCES = + BL2_SOURCES = +endif + BL32_SOURCES += plat/arm/common/arm_pm.c \ plat/arm/common/arm_topology.c \ plat/arm/common/sp_min/arm_sp_min_setup.c \